//
//  BHApplyDetailSecView.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/6/18.
//

import UIKit

class BHApplyDetailSecView: UIView {

    @IBOutlet weak var sec_name_label: UILabel!
    @IBOutlet weak var money_label: UILabel!
    @IBOutlet weak var rightBtn: UIButton!
    
    static func loadFromXib() -> BHApplyDetailSecView {
        let viewArray = Bundle.main.loadNibNamed("BHApplyDetailSecView", owner: nil, options: nil)
        let view: BHApplyDetailSecView = viewArray![0] as! BHApplyDetailSecView
        return view
    }
}


class BHApplyDetailFlagMoreView: UIView {
    
    @IBOutlet weak var openFlagBtn: UIButton!
    
    static func loadFromXib() -> BHApplyDetailFlagMoreView {
        let viewArray = Bundle.main.loadNibNamed("BHApplyDetailSecView", owner: nil, options: nil)
        let view = viewArray![1] as! BHApplyDetailFlagMoreView
        return view
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        self.openFlagBtn.addLayerCorner(15, 0.5, .color_999999)
    }
}
